import numpy as np
a1=np.array([1,2,3,4,5])
print('a1=',a1)
a2=np.array((1,2,3,4,5))
print('a2=',a2)
a3=np.array(range(5))
print('a3=',a3)
a4=np.array([[1,2,3],[4,5,6]])
print('a4=',a4)
a5=np.arange(8)
print('a5=',a5)
a6=np.arange(1,10,2)
print('a6=',a6)
a7=np.linspace(0,10,11)
print('a7=',a7)
a8=np.linspace(0,10,11,endpoint=False)
print('a8=',a8)
a9=np.logspace(0,100,10)
print('a9=',a9)
a10=np.logspace(1,6,5,base=2)
print('a10=',a10)
a11=np.zeros(3)
print('a11=',a11)
a12=np.ones(3)
print('a12=',a12)
a13=np.zeros((3,3))
print('a13=',a13)
a14=np.zeros((3,1))
print('a14=',a14)
a15=np.zeros((1,3))
print('a15=',a15)
a16=np.ones((3,3))
print('a16=',a16)
a17=np.ones((1,3))
print('a17=',a17)
a18=np.identity(3)
print('a18=',a18)
a19=np.identity(2)
print('a19=',a19)
a20=np.empty((3,3))
print('a20=',a20)
a21=np.hamming(20)
print('a21=',a21)
a22=np.blackman(10)
print('a22=',a22)
a23=np.kaiser(12,5)
print('a23=',a23)
a24=np.random.randint(0,50,5)
print('a24=',a24)
a25=np.random.randint(0,50,(3,5))
print('a25=',a25)
a26=np.random.rand(10)
print('a26=',a26)
a27=np.random.standard_normal(5)
print('a27=',a27)
a28=np.random.standard_normal(size=(3,4,2))
print('a28=',a28)
a29=np.diag([1,2,3])
print('a29=',a29)
a30=np.diag([1,2,3,4])
print('a30=',a30)